<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>ZeroClipboard unit tests: event.js</title>
  <link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css">
  <script src="../node_modules/qunitjs/qunit/qunit.js"></script>
  <script>
    // Polyfill in future functionality: https://github.com/jquery/qunit/issues/490
    if (!QUnit.assert.expect) {
      QUnit.assert.expect = QUnit.expect;
    }

    // Require `expect` calls
    QUnit.config.requireExpects = true;

    // Prevent against Firefox/Firebug failing the global pollution check
    var getInterface = null;
  </script>
  <script src="../src/javascript/ZeroClipboard/state.js"></script>
  <script src="../src/javascript/ZeroClipboard/utils.js"></script>
  <script src="../src/javascript/ZeroClipboard/flash.js"></script>
  <script src="../src/javascript/ZeroClipboard/client.js"></script>
  <script src="../src/javascript/ZeroClipboard/core.js"></script>
  <script>
    // Mocks for "dom.js"
    var _bridge = function() {
      _extend(flashState, {
        disabled: false,
        outdated: false,
        ready: false,
        bridge: {
          setHandCursor: function() { }
        }
      });
    };
    var _getHtmlBridge = function() { };
    var _reposition = function() { };
  </script>
  <script src="../src/javascript/ZeroClipboard/event.js"></script>
  <script src="../src/javascript/ZeroClipboard/deprecated.js"></script>
  <script src="event.js"></script>
</head>
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture">
    <p id="d_clip_container">
      <button id="d_clip_button" class="my_clip_button" title="Click me to copy to clipboard." data-clipboard-text="Copy me!"><b>Copy To Clipboard...</b></button>
    </p>
    <p id="d_clip_container2">
      <button id="d_clip_button2" class="my_clip_button" title="Click me to copy to clipboard.2" data-clipboard-text="Copy me!"><b>Copy To Clipboard...</b></button>
    </p>
    <p id="d_clip_container3">
      <button id="d_clip_button3" class="my_clip_button" title="Click me to copy to clipboard.3" data-clipboard-text="Copy me!"><b>Copy To Clipboard...</b></button>
    </p>
  </div>
</body>
</html>
